package com.qcby.dao;

import com.qcby.common.ClassNote.ShowByPage;
import com.qcby.entity.ClassNote;
import com.qcby.entity.Exam;
import com.qcby.entity.QuestionBank;
import com.qcby.entity.Student;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface ClassNoteDao {

    List<ClassNote> showNoteInfoByPage(ShowByPage info);

    int getNoteCount(ShowByPage info);

    int addNote(ClassNote info);

    int deleteNote(int id);

    ClassNote getNoteById(int id);

    int updateNote(ClassNote info);
    List<ClassNote> getNoteByStudentName(Student student);
    int addExam(Exam info);

    int addQuestion(List<QuestionBank> questionList);
}
